Skip to content

chore(common): extend getRequiredEnvVar method to check empty values#2156

Merged
mergify[bot] merged 3 commits intomainfrom
isaac/chore/157/check-deployment-env-vars-value
Mar 27, 2026
Merged

chore(common): extend getRequiredEnvVar method to check empty values#2156
mergify[bot] merged 3 commits intomainfrom
isaac/chore/157/check-deployment-env-vars-value

Conversation

@isaacdecoded
Copy link
Copy Markdown
Contributor

@isaacdecoded isaacdecoded requested a review from a team as a code owner March 23, 2026 15:38
@cla-bot cla-bot bot added the cla-signed label Mar 23, 2026
@isaacdecoded isaacdecoded force-pushed the isaac/chore/157/check-deployment-env-vars-value branch from c8b49b1 to ac6fed9 Compare March 24, 2026 11:42
Copy link
Copy Markdown
Contributor

@zmalatrax zmalatrax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

library-solidity/tasks/utils/loadVariables.ts has an identical getRequiredEnvVar function that was not updated. It still has the old behavior (no empty check) and even retains the comment
// We only check if the variable is set, not if it's empty.

This means deployments using the library-solidity tasks still silently accept empty env vars.

library-solidity should be updated as well, or not used?

Otherwise lgtm

@isaacdecoded isaacdecoded requested a review from zmalatrax March 25, 2026 10:53
zmalatrax
zmalatrax previously approved these changes Mar 26, 2026
Copy link
Copy Markdown
Contributor

@zmalatrax zmalatrax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@isaacdecoded
Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify
Copy link
Copy Markdown

mergify bot commented Mar 26, 2026

Merge Queue Status

  • Entered queue2026-03-26 10:58 UTC · Rule: main
  • 🚫 Left the queue2026-03-26 10:59 UTC · at 18c8190d1a9bad555e80e83142b560901797b65c

This pull request spent 1 minute 37 seconds in the queue, with no time running CI.

Reason

The pull request conflicts with pull requests ahead in queue: #2157, #2163, #2158

Hint

There is nothing you can do for now. If the pull request ahead in the queue is merged, this pull request will become conflicting and you'll have to update it.
If the pull request ahead is not merged, you can requeue this pull request with a @mergifyio queue comment.

zmalatrax
zmalatrax previously approved these changes Mar 26, 2026
@isaacdecoded
Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify
Copy link
Copy Markdown

mergify bot commented Mar 26, 2026

Merge Queue Status

🛑 Queue command has been cancelled

@isaacdecoded
Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify mergify bot added the queued label Mar 27, 2026
mergify bot added a commit that referenced this pull request Mar 27, 2026
mergify bot added a commit that referenced this pull request Mar 27, 2026
@mergify mergify bot added dequeued and removed queued labels Mar 27, 2026
@isaacdecoded isaacdecoded force-pushed the isaac/chore/157/check-deployment-env-vars-value branch from 08358a5 to 8d01ffa Compare March 27, 2026 11:44
@isaacdecoded isaacdecoded requested a review from a team as a code owner March 27, 2026 11:44
@isaacdecoded isaacdecoded requested a review from zmalatrax March 27, 2026 11:44
@mergify mergify bot removed the dequeued label Mar 27, 2026
@isaacdecoded
Copy link
Copy Markdown
Contributor Author

@Mergifyio refresh

@mergify
Copy link
Copy Markdown

mergify bot commented Mar 27, 2026

refresh

✅ Pull request refreshed

@isaacdecoded
Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify
Copy link
Copy Markdown

mergify bot commented Mar 27, 2026

Merge Queue Status

This pull request spent 2 hours 16 minutes 5 seconds in the queue, including 1 hour 14 minutes 55 seconds running CI.

Required conditions to merge

mergify bot added a commit that referenced this pull request Mar 27, 2026
@mergify mergify bot merged commit 982d670 into main Mar 27, 2026
75 of 76 checks passed
@mergify mergify bot deleted the isaac/chore/157/check-deployment-env-vars-value branch March 27, 2026 14:38
@mergify mergify bot removed the queued label Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants